<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:m="http://www.ol4jsf.org"
	xmlns:o="http://openfaces.org/">

	<style type="text/css">
		.olControlSLDSelectPointActive {
			cursor: pointer;
		}
		.olControlPanel {
			float: right;
			right: 0px;
			height: 30px;
		}
		.olControlPanel div {
			float: right;
			display:block;
			width:  24px;
			height: 24px;
			margin: 5px;
			background-color:red;
		}
	
		.olControlPanel .olControlNavigationItemActive {
			background-color: blue;
			background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/pan_on.png");
		}
		.olControlPanel .olControlNavigationItemInactive {
			background-color: orange;
			background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/pan_off.png");
		}
	          .olControlPanel .olControlDrawFeatureItemActive {
	              width:  22px;
	              height: 22px;
	              background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/draw_line_on.png");
	          }
		.olControlPanel .olControlDrawFeatureItemInactive {
			width:  22px;
			height: 22px;
			background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/draw_line_off.png");
		}
		.olControlPanel .olControlZoomBoxItemInactive {
			width:  22px;
			height: 22px;
			background-color: orange;
			background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/drag-rectangle-off.png");
		}
	          .olControlPanel .olControlZoomBoxItemActive {
			width:  22px;
			height: 22px;
			background-color: blue;
			background-image: url("#{generalHelper.openLayersThemeDefaultImgPath}/drag-rectangle-on.png");
	          }
	          .olControlPanel .olControlZoomToMaxExtentItemInactive {
			width:  18px;
			height: 18px;
			background-image: url("#{generalHelper.openLayersImgPath}/zoom-world-mini.png");
	          }
		.alignTop {
			vertical-align:top;
		}
		.rich-filter-input {
			width: 50px;
		}
		.rich-spinner-input {
			width: 30px;
		}
	</style>
	
	<div align="center">
		<table width="95%" border="0" cellspacing="10px">
			<tr align="center" valign="top">
				<td width="50%">
					<strong>#{messages['dataentry.editdata.legal_section']}</strong>
					<rich:separator lineType="solid"/>
					<br style=""/>
					<h:panelGrid id="editDataTab1" columns="2" columnClasses=",rowtitle">
						<h:outputText value="#{messages['dataentry.editdata.parcel_name']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.zoneName) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.geometry_area']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.geometryArea) }"/>
					
						<h:outputText value="#{messages['dataentry.editdata.documented_area']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.documentedArea) }"/>
					
						<h:outputText value="#{messages['dataentry.editdata.measured_area']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.measuredArea) }"/>
					
						<h:outputText value="#{messages['dataentry.editdata.documented_built_area']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.documentedBuiltArea) }"/>
					
						<h:outputText value="#{messages['dataentry.editdata.ground_built_area']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.groundBuiltArea) }"/>
					
						<h:outputText value="#{messages['dataentry.editdata.neighborhood']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.neighborhood) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.access_way1']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.accessWay1) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.access_way2']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.accessWay2) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.house_number']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.houseNumber) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.location_in_country']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.locationInCountry) }"/>
					</h:panelGrid>
				</td>
				<td>
					<strong>#{messages['dataentry.editdata.tax_section']}</strong>
					<rich:separator lineType="solid"/>
					<br />
					<h:panelGrid id="editDataTab2" columns="2" columnClasses=",rowtitle">
						<h:outputText value="#{messages['dataentry.editdata.commercial_appraisal']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.commercialAppraisal) }" />
			
						<h:outputText value="#{messages['dataentry.editdata.fiscal_appraisal']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.fiscalAppraisal) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.payed_taxes']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(parcel.payedTaxes) }"/>
			
						<h:outputText value="#{messages['dataentry.editdata.status']}" />
						<h:outputText value="#{ viewParcelHelper.formatEmptyText(resBundle.loadMessage(parcel.status)) }" />
					</h:panelGrid>
				</td>
			</tr>
		</table>
	</div>
</ui:composition>
